package com.wbt.spring.support.config;

import com.wbt.common.beans.User;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author daojin
 * @date 2022/4/14 10:18 上午
 */
@Component
public class BConfig {

    @Bean(name = "usersB")
    public User usersB(){
        User user = new User();
        user.setId("100");
        user.setUserName("坎坎坷坷");
        user.setAge(23);
        user.setWork("架构师B");
        return user;
    }
}
